destroy a session in laravel

57

laravel session forget -

session()->forget('your_key');

laravel destroy session -

# ref: https://laravel.io/forum/02-06-2014-session-destroy

Session::forget('yourKeyGoesHere') // Removes a specific variable

Comments

Submit
0 Comments